<template>
  <div></div>
</template>

<script>
import wxService from "../_services/wx.service";
export default {
  name: "TianDingIndexComponent",
  mounted() {
    if (this.$route.name === "tdIndex") {
      let uri = "|/tdSelect";
      if (process.env.NODE_ENV === "development") {
        uri = "|/tdSelect";
      } else {
        uri = "|/tdSelect";
      }
      wxService.getAuthorizationCode(process.env.NODE_ENV + uri);
    }
  }
};
</script>

